﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="GenerateReport.aspx.cs" Inherits="PresentationLayer.GenerateReport" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <h2>Generate Trend Analysis Report</h2>
        <br />
        <table class="table-condensed">
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label1" runat="server" Text="Generate By"></asp:Label>
                </td>
                <td>
                     <asp:RadioButton ID="rdoCategory" runat="server" Text="Category" Checked="true" GroupName="rdoGenerate" CssClass="radio-inline" Width="121px" />
                     <asp:RadioButton ID="rdoDepartment" runat="server" Text="Department" GroupName="rdoGenerate" CssClass="radio-inline" Width="121px"/>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label2" runat="server" Text="Filter By"></asp:Label>
                </td>
                <td>
                     <asp:RadioButton ID="rdoQty" runat="server" Text="Quantity" Checked="true" GroupName="rdoFilter" CssClass="radio-inline" Width="121px" />
        <asp:RadioButton ID="rdoPrice" runat="server" Text="Price" GroupName="rdoFilter" CssClass="radio-inline" Width="121px" />
                </td>
            </tr>
        </table>
            <%--<a href="GenerateReport.aspx">GenerateReport.aspx</a> --%>
        <br />
        <table class="table-condensed">
            <tr>
                <td colspan="3">
                     <asp:Label ID="Label3" runat="server" Text="Choose the number of month to generate the report :"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlNumOfMonth" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlNumOfMonth_SelectedIndexChanged" CssClass="form-control">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
        </asp:DropDownList>
                </td>
            </tr>
            <tr>
                    <td>&nbsp;</td>
            </tr>
            <tr>
                <td><asp:Label ID="Label4" runat="server" Text="1st Month:"></asp:Label></td>
                <td><asp:DropDownList ID="ddlMonth1" runat="server" CssClass="form-control" >
            
        </asp:DropDownList></td>
                <td><asp:Label ID="Label5" runat="server" Text="1st Year:" ></asp:Label></td>
                <td> <asp:DropDownList ID="ddlYear1" runat="server" CssClass="form-control">
        </asp:DropDownList></td>
            </tr>
              <tr>
                <td> <asp:Label ID="Label6" runat="server" Text="2nd Month:" ></asp:Label></td>
                <td> <asp:DropDownList ID="ddlMonth2" runat="server" CssClass="form-control" >
          
        </asp:DropDownList></td>
                <td><asp:Label ID="Label7" runat="server" Text="2nd Year:"></asp:Label></td>
                <td><asp:DropDownList ID="ddlYear2" runat="server" CssClass="form-control" >
        </asp:DropDownList></td>
            </tr>
              <tr>
                <td><asp:Label ID="Label8" runat="server" Text="3rd Month:" ></asp:Label></td>
                <td><asp:DropDownList ID="ddlMonth3" runat="server" CssClass="form-control" >
          
        </asp:DropDownList></td>
                <td><asp:Label ID="Label9" runat="server" Text="3rd Year:" ></asp:Label></td>
                <td><asp:DropDownList ID="ddlYear3" runat="server" CssClass="form-control" >
        </asp:DropDownList></td>
            </tr>
        </table>
      
        <br />
        <asp:Button ID="btnGenerate" runat="server" Text="Generate" OnClick="btnGenerate_Click" />
    
    
    </div>
    <br />
</asp:Content>
